package com.hex.ds.code.detection.config.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

/**
 * 发布用户表
 *
 * @author zl
 * @date 2024-02-05 10:05:15
 */
@Data
@Validated
@TableName("TD_CONFIG_PROPERTY_PUBLISHUSER")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "发布用户表")
public class ConfigPropertyPublishuser extends Model<ConfigPropertyPublishuser> {
private static final long serialVersionUID = 1L;

    /**
     * 发布用户id
     */
    @TableId(type= IdType.ASSIGN_UUID)
    @ApiModelProperty(value="发布用户id")
    private String id;
    /**
     * 集群id
     */
//    @ApiModelProperty(value="集群id")
    @TableField(exist = false)
    private String clusterId;
//    /**
//     * 权限id
//     */
//    @ApiModelProperty(value="权限id")
//    private String roleId;
//
//    //权限名称
//    @TableField(exist = false)
//    private String roleName;

    /**
     * 发布权限用户名
     */
    @ApiModelProperty(value="发布权限用户名")
    private String username;
    /**
     * 发布权限密码
     */
    @ApiModelProperty(value="发布权限密码")
    private String password;
    /**
     * 禁用字段disabled
     */
    @ApiModelProperty(value="禁用字段")
    private String disabled;
    //集群名称
    @TableField(exist = false)
    private String clusterName;
    /**
     * 发布服务器标识id
     */
    @ApiModelProperty(value="发布服务器标识")
    private String serverId;
    //发布服务器标识
    @TableField(exist = false)
    private String serverMark;

    }
